package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/3/25 18:10
 */
@Data
@ApiModel
public class SearchResultReq implements Serializable {

    private static final long serialVersionUID = -1756296179602212590L;

    @ApiModelProperty(value = "搜索内容", required = true)
    @NotBlank(message = "内容不能为空")
    public String content;
}
